# -- coding: utf-8 --

class InferBase(object):
    """推断基类"""

    def __init__(self, config):
        self.config = config  # 配置

    def load_model(self, name):
        """加载模型"""
        raise NotImplementedError

    def predict(self, data):
        """预测结果"""
        raise NotImplementedError
